package com.roc.service;

import java.util.Map;

import com.roc.bean.SwitchBean;

public interface ISwitchsService {
	/**
	 * 查找具体商户D0交易控制bean
	 * @param bean
	 * @return
	 * @throws Exception
	 */
	public SwitchBean findMcthCdSwitch(SwitchBean bean)throws Exception;
	/**
	 * 更改具体商户D0的交易控制
	 * @param bean
	 * @throws Exception
	 */
	public int updateMcthSwitch(SwitchBean bean)throws Exception;
	/**
	 * D0总交易控制bean
	 * @param bean
	 * @return
	 * @throws Exception
	 */
	public SwitchBean findMasterSwitch(SwitchBean bean)throws Exception;
	/**
	 * D0总交易控制更改
	 * @param bean
	 * @throws Exception
	 */
	public int updateMasterSwitch(SwitchBean bean)throws Exception;
	/**
	 * 添加商户
	 * @param bean
	 * @return
	 * @throws Exception
	 */
	public Map<String,Object> addMcthSwitch(SwitchBean bean)throws Exception;
}
